const path = require('path');
const jsTranser = require('../buz/jsTranser');
const destPath = path.resolve(__dirname, 'dest'),
    jsPaths = [path.resolve(process.cwd(), `src/**/*.{jsx,js}`), path.resolve(process.cwd(), `!src/stories/**/*.{jsx,js}`)];
jsTranser(destPath, jsPaths);